﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Symbonix.NorSoNet.Security.BLL
{
    public class Options
    {
        public enum EmailTemplates
        {
            RegistrationMail = 1,
            PasswordRecoveryMail=2
        }

        public enum UserRoles
        {
            None,
            Member,
            Admin
        }

        public enum RegistrationCompleteStatus
        {
            Success,             // Registration complete
            InvalidUsername,     // Username is in invalid format
            InvalidPassword,     // Password is in invalid format
            InvalidEmail,        // Email is in invalid format
            InvalidFirstName,    // Firstname is in invalid format
            InvalidLastName,     // Lastname is in invalid format
            DuplicateUsername,   // Username already taken
            DuplicateEmail,      // Email already used to register
            MailSendFailed,      // Registration was successful but mail could not be send
            ServerError,         // Something was wrong in server, server error occured
            TooManyRequest,      // Too frequenty registration requests are comming from the same IP
            ServerUnavailable,   // Server is down
            ProfileCreateFailed, // Failed to create profile
            RoleAssignFailed,    // Failed to assign role
            PrivacySettingFailed // Failed to assign privacy policy setting
        }

        public enum Gender
        {
            Male,
            Female,
            NotSpecified
        }
    }
}
